package com.mtf.handler;

/**
 * @Author matengfei
 * @Date 2024/3/15 14:32
 * @PackageName:com.mtf.handler
 * @ClassName: IdempotentExceptionEnum
 * @Description: 自定义异常枚举
 * @Version 1.0
 */
public enum IdempotentExceptionEnum {
    MQ_REPEAT_CONSUME(500,"mq重复消费");

    private int code;
    private String description;

    IdempotentExceptionEnum(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
